/**
 * Created by hxpeng on 2017/4/28.
 */
(function () {
    'use strict';

    angular.module('App.pages.bind')
        .service('BindModel', BindModel);

    function BindModel(API,$resource) {
        this.actions = {}
        /**
         * 和微信号绑定
         * @type {{method: string, url: string}}
         */
        this.actions.bindWeChatInfo = {
            method: 'POST',
            url: API + '/member/bindWeChatInfo'
        }
        return $resource.call(this, this.url, this.params, this.actions)
    }

})();